package indi.cyh.fastservice.biz;

import indi.cyh.fastservice.base.BaseBiz;
import indi.cyh.fastservice.base.BaseBizImpl;
import indi.cyh.fastservice.entity.StParm;
import indi.cyh.fastservice.entity.requestparam.DepRequest;
import indi.cyh.fastservice.tool.RequstConfigServiceTool;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @Description TODO
 * @Author CYH
 * @Date 2021/9/1 11:29
 **/
@Repository
public class TestBiz extends BaseBizImpl<StParm> implements BaseBiz {

    @Autowired
    RequstConfigServiceTool requstConfigServiceTool;


    public Object externalServiceTest() throws Exception {
        DepRequest depRequest = new DepRequest();
        depRequest.setAuthorization("eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZWFsX25hbWUiOiLkuK3lj7Dns7vnu5_nrqHnkIblkZgiLCJ1c2VyX2lkIjoiMjdBRjAwNEEtOEJETi04ODVULTMwRlUtODlERTMzODg3NjJCIiwidXNlcl9uYW1lIjoiQURNSU4yIiwianRpIjoiNzY0MmM1OWYtMmE0NC00NmRkLTk1ZWItZjY1MTA1ZWEzYTA2IiwiY2xpZW50X2lkIjoic3BhY2UiLCJzY29wZSI6WyJhbGwiXX0.Umxr480pwFcXJyZBi-8u31i6x40tQBLMancVr1Zm1HRpIpt5iUvTgkh4_4Y2_A3SS8Fqb1v1ELmNzEm4vIhxoMKlVgA9uDorTyPDCZX3BbJqFLp8xoHFaTUSVEuL1nVx_EkIpskU4tbphiQYWYz4F-zrM-j59YAChdwv5ntAWQAZUtmqpYGA0fkSZSsJjT-UiBVZqL0G3S1FudC7fEvUcEb0-D21eD5Ok2QlxZ8Oh8FonUGWb1PZJR_yBRiWAriLZ0P-2YDHDGVnT_cmWrerC7PAr7sit_2YqVRW_J5vMhpSiZtxfCd6BSwnDqnxMWxazetLkXcYf0x7LetPKyZW-Q");
        return requstConfigServiceTool.request("证照类型获取服务", depRequest, null);
    }
}
